package model;


public class PV {
	private static int fieldWidth = 30;
	private static int fieldHeight = 30;

	private static int nodeSize = 20;
	private static Node[][] nodeNet = new Node[fieldWidth][fieldHeight];;
	
	
	private static int currentMouseNodeX = 0;
	private static int currentMouseNodeY = 0;
	
	private static boolean mousePressed = false;
	
	private static GlobalKeyListener keyListener = new GlobalKeyListener();
	
	
	
	public static int getFieldWidth() {
		return fieldWidth;
	}
	public static void setFieldWidth(int fieldWidth) {
		PV.fieldWidth = fieldWidth;
	}
	public static int getFieldHeight() {
		return fieldHeight;
	}
	public static void setFieldHeight(int fieldHeight) {
		PV.fieldHeight = fieldHeight;
	}
	public static int getNodeSize() {
		return nodeSize;
	}
	public static void setNodeSize(int nodeSize) {
		PV.nodeSize = nodeSize;
	}
	public static Node[][] getNodeNet() {
		return nodeNet;
	}
	public static void setNodeNet(Node[][] nodeNet) {
		PV.nodeNet = nodeNet;
	}
	public static int getCurrentMouseNodeX() {
		return currentMouseNodeX;
	}
	public static void setCurrentMouseNodeX(int currentMouseNodeX) {
		PV.currentMouseNodeX = currentMouseNodeX;
	}
	public static int getCurrentMouseNodeY() {
		return currentMouseNodeY;
	}
	public static void setCurrentMouseNodeY(int currentMouseNodeY) {
		PV.currentMouseNodeY = currentMouseNodeY;
	}
	public static boolean isMousePressed() {
		return mousePressed;
	}
	public static void setMousePressed(boolean mousePressed) {
		PV.mousePressed = mousePressed;
	}
	public static GlobalKeyListener getKeyListener() {
		return keyListener;
	}
	public static void setKeyListener(GlobalKeyListener keyListener) {
		PV.keyListener = keyListener;
	}
}
